cp -rf ./yq-modify-files/extra-rtmpproto.c ./extra/ffmpeg/libavformat/rtmpproto.c
cp -rf ./yq-modify-files/rtmpproto.c ./android/contrib/ffmpeg-armv7a/libavformat/rtmpproto.c
cp -rf ./yq-modify-files/rtmpproto.c ./android/contrib/ffmpeg-arm64/libavformat/rtmpproto.c
cp -rf ./yq-modify-files/rtmpproto.c ./android/contrib/ffmpeg-armv5/libavformat/rtmpproto.c
cp -rf ./yq-modify-files/rtmpproto.c ./android/contrib/ffmpeg-x86/libavformat/rtmpproto.c
cp -rf ./yq-modify-files/rtmpproto.c ./android/contrib/ffmpeg-x86_64/libavformat/rtmpproto.c


cp -rf ./yq-modify-files/extra-h2645_parse.c ./extra/ffmpeg/libavcodec/h2645_parse.c
cp -rf ./yq-modify-files/h2645_parse.c  ./android/contrib/ffmpeg-armv7a/libavcodec/h2645_parse.c
cp -rf ./yq-modify-files/h2645_parse.c  ./android/contrib/ffmpeg-arm64/libavcodec/h2645_parse.c
cp -rf ./yq-modify-files/h2645_parse.c  ./android/contrib/ffmpeg-armv5/libavcodec/h2645_parse.c
cp -rf ./yq-modify-files/h2645_parse.c  ./android/contrib/ffmpeg-x86/libavcodec/h2645_parse.c
cp -rf ./yq-modify-files/h2645_parse.c  ./android/contrib/ffmpeg-x86_64/libavcodec/h2645_parse.c


cp -rf ./yq-modify-files/extra-avformat.h ./extra/ffmpeg/libavformat/avformat.h
cp -rf ./yq-modify-files/avformat.h  ./android/contrib/ffmpeg-armv7a/libavformat/avformat.h
cp -rf ./yq-modify-files/avformat.h  ./android/contrib/ffmpeg-arm64/libavformat/avformat.h
cp -rf ./yq-modify-files/avformat.h  ./android/contrib/ffmpeg-armv5/libavformat/avformat.h
cp -rf ./yq-modify-files/avformat.h  ./android/contrib/ffmpeg-x86/libavformat/avformat.h
cp -rf ./yq-modify-files/avformat.h  ./android/contrib/ffmpeg-x86_64/libavformat/avformat.h


cp -rf ./yq-modify-files/extra-options.c ./extra/ffmpeg/libavformat/options.c
cp -rf ./yq-modify-files/options.c  ./android/contrib/ffmpeg-armv7a/libavformat/options.c
cp -rf ./yq-modify-files/options.c  ./android/contrib/ffmpeg-arm64/libavformat/options.c
cp -rf ./yq-modify-files/options.c  ./android/contrib/ffmpeg-armv5/libavformat/options.c
cp -rf ./yq-modify-files/options.c  ./android/contrib/ffmpeg-x86/libavformat/options.c
cp -rf ./yq-modify-files/options.c  ./android/contrib/ffmpeg-x86_64/libavformat/options.c

echo "copy ffmpeg files finished..........."


cp -rf ./yq-modify-files/module-rtmp.sh ./config/module-rtmp.sh
chmod +x ./config/module-rtmp.sh
cd config
rm -rf module.sh
ln -s module-rtmp.sh module.sh
cd ..
echo "copy module-rtmp.sh finished..........."



